package com.bestcem.xm.deliver.service;


import com.alibaba.fastjson.JSONObject;
import com.bestcem.xm.deliver.entity.DeliverDeliver;
import com.bestcem.xm.qdes.grpc.v1.services.Project;

public interface DeliverDeliverTriggerService {

    void triggerDeliverStatus(DeliverDeliver deliver, String action);

    boolean checkDeliverStatus(DeliverDeliver deliver);

    JSONObject startDeliver(DeliverDeliver deliver, Integer mpTtype);

    JSONObject finishDeliver(DeliverDeliver deliver, Integer mpTtype);

    void deliverEmailCheckNotice(Integer channel, String deliverId, Project project);

    void deleteDeliver(DeliverDeliver deliver);
}
